package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警配置表对象 tb_alert_config
 * 
 * @author ruoyi
 * @date 2025-02-18
 */
public class TbAlertConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID
 */
    private String configId;

    /** 机构代码
 */
    @Excel(name = "机构代码 ")
    private String institutionCode;

    /** 指标名
 */
    @Excel(name = "指标名 ")
    private String dataName;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String columnName;

    /** 字段值 */
    @Excel(name = "字段值")
    private String columnValue;

    /** 持续时间（单位：分） */
    @Excel(name = "持续时间", readConverterExp = "单=位：分")
    private String duration;

    /** 数量 */
    @Excel(name = "数量")
    private String count;

    public void setConfigId(String configId) 
    {
        this.configId = configId;
    }

    public String getConfigId() 
    {
        return configId;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setDataName(String dataName) 
    {
        this.dataName = dataName;
    }

    public String getDataName() 
    {
        return dataName;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnValue(String columnValue) 
    {
        this.columnValue = columnValue;
    }

    public String getColumnValue() 
    {
        return columnValue;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }
    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configId", getConfigId())
            .append("institutionCode", getInstitutionCode())
            .append("dataName", getDataName())
            .append("columnName", getColumnName())
            .append("columnValue", getColumnValue())
            .append("duration", getDuration())
            .append("count", getCount())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
